package com.hx.springboot1.service;

import com.github.pagehelper.PageInfo;
import com.hx.springboot1.pojo.entity.TabCourse;
import com.hx.springboot1.utils.ResultMsg;

import java.util.List;

/**
 * Author: hx
 * Date: 2021-05-23 15/41
 * Description: Nothing else
 */
public interface CourseService {
    PageInfo selectAllCourse(String searchName, String pageNum, String pageSize);
    ResultMsg insertOrUpdateCourse(Integer courseId,String courseName,Integer score,Integer term,String courseType,String testType,Integer courseHour,Integer practiceHour);
    TabCourse selectCourseById(Integer courseId);
    ResultMsg delCourse(Integer CID);
    List<TabCourse> selectCourseByYearId(Integer yearId);
}
